home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15301 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: triton.np.ac.sg!news
  2. From: s4606412@mercury.np.ac.sg (Jason Chaw)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: interesting program
  5. Date: Fri, 19 Apr 1996 02:48:13 GMT
  6. Organization: Ngee Ann Polytechnic, Singapore
  7. Message-ID: <3176fea5.7859560@153.20.24.80>
  8. References: <4ka96c$jt3@mirv.unsw.edu.au> <4kmi43$ff4@airdmhor.gen.nz>
  9. NNTP-Posting-Host: mercury.np.ac.sg
  10. NNTP-Posting-User: s4606412
  11. X-Newsreader: Forte Agent .99d/32.182
  12.  
  13. On 13 Apr 1996 09:31:47 +1200, gumboot@airdmhor.gen.nz (Simon Hosie)
  14. wrote:
  15.  
  16. >system PRIVILEGED account:
  17. >> can someone write a program which when compiled and executed, will produce the
  18. >> source code itself, i.e. for example, the program is called hello.c, when we
  19. >> executed hello>test, the content of test will be the same as hello.c ! Of
  20. >> course, we cannot use the method of reading the file hello.c
  21. >
  22. >  It's in somebody's .Sig on here.. shouldn't be hard to find.
  23.  
  24. Hi there
  25.  
  26.     I am very interested in the problem. Can you enlighten us abt
  27. the solution? Thanks in advance.
  28.  
  29.     Also please include the source code. ;-}
  30.  
  31. [JASON@CHAW]
  32.  
  33.  
  34.